import {createRouter,createWebHistory} from 'vue-router'

const router=createRouter({
  history:createWebHistory(),
  routes:[
    {
       path:'/',
       redirect:'/zhuce'
    },
    {
      path:'/zhuce',
      component:()=>import("../views/ZhuCe.vue")
    },
    {
      path:'/denglu',
      component:()=>import("../views/DengLu.vue")
    },
    {
      path:'/liebiao',
      component:()=>import("../views/LieBiao.vue")
    },
    {
      path:'/userdenglu',
      component:()=>import("../views/UserDengLu.vue")
    },
    {
      path:'/useryonghu',
      component:()=>import("../views/UserYongHu.vue")
    },
    {
      path:'/admin',
      component:()=>import("../views/Admin.vue")
    },
    {
      path:'/jiekuandenglu',
      component:()=>import("../views/JieKuanDengLu.vue")
    },
    {
      path:'/userjiekuan',
      component:()=>import("../views/UserJieKuan.vue")
    },
    {
      path:'/adminjiekuan',
      component:()=>import("../views/AdminJieKuan.vue")
    }
  ]
})

export default router